package com.new_wear.project.system.task.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 系统 - 任务主体对象 cst_task
 * 
 * @author new_wear
 * @date 2020-01-09
 */
public class CstTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Integer id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String title;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 完成时间 */
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date addtime;

    /** 完成率 */
    @Excel(name = "完成率")
    private String finishRate;

    /** 0未发布，1已发布 */
    @Excel(name = "0未发布，1已发布")
    private Integer isPublish;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    /** 发布人ID */
    @Excel(name = "发布人ID")
    private Integer addId;

    /** 区域ID */
    @Excel(name = "区域ID")
    private Integer areaId;

    /** 是否指派 0未指派，1已指派 */
    private Integer isAppoint;

    /** 1计划内2计划外 */
    @Excel(name = "1计划内2计划外")
    private Integer isPlan;

    /** 是否审核 0未审核1通过2未通过 */
    @Excel(name = "是否审核 0未审核1通过2未通过")
    private Integer isCheck;

    /** 审核人 */
    @Excel(name = "审核人")
    private String checkUser;

    /** 审核时间 */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    /** 栏目类型 */
    @Excel(name = "栏目类型")
    private String columntype;

    private String deptName;//前端展示字段，地区名称

    private String isCheckName;//前端展示值字段，审核情况

    public String getIsCheckName() {
        return this.isCheckName;

    }

    public void setIsCheckName(String isCheckName) {
        this.isCheckName = isCheckName;
    }

    public String getDeptName() {
        return this.deptName;

    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setFinishRate(String finishRate) 
    {
        this.finishRate = finishRate;
    }

    public String getFinishRate() 
    {
        return finishRate;
    }
    public void setIsPublish(Integer isPublish) 
    {
        this.isPublish = isPublish;
    }

    public Integer getIsPublish() 
    {
        return isPublish;
    }
    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }
    public void setAddId(Integer addId) 
    {
        this.addId = addId;
    }

    public Integer getAddId() 
    {
        return addId;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setIsAppoint(Integer isAppoint) 
    {
        this.isAppoint = isAppoint;
    }

    public Integer getIsAppoint() 
    {
        return isAppoint;
    }
    public void setIsPlan(Integer isPlan) 
    {
        this.isPlan = isPlan;
    }

    public Integer getIsPlan() 
    {
        return isPlan;
    }
    public void setIsCheck(Integer isCheck) 
    {
        this.isCheck = isCheck;
    }

    public Integer getIsCheck() 
    {
        return isCheck;
    }
    public void setCheckUser(String checkUser) 
    {
        this.checkUser = checkUser;
    }

    public String getCheckUser() 
    {
        return checkUser;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setColumntype(String columntype) 
    {
        this.columntype = columntype;
    }

    public String getColumntype() 
    {
        return columntype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("img", getImg())
            .append("content", getContent())
            .append("finishTime", getFinishTime())
            .append("addtime", getAddtime())
            .append("finishRate", getFinishRate())
            .append("isPublish", getIsPublish())
            .append("publishTime", getPublishTime())
            .append("addId", getAddId())
            .append("areaId", getAreaId())
            .append("isAppoint", getIsAppoint())
            .append("isPlan", getIsPlan())
            .append("isCheck", getIsCheck())
            .append("checkUser", getCheckUser())
            .append("checkTime", getCheckTime())
            .append("columntype", getColumntype())
            .toString();
    }
}
